class ListController < ApplicationController
  caches_page :index,:method_missing
  
  def index
    @hotlist= HotList.find(:all)
    @link=url_for :controller=>"list",:action=>"index"
    
    respond_to do |format|
      format.html {render :action =>"list.rhtml" }
      format.rss {render :action => "list.rxml", :layout => false }
    end
  end
  
  def feedrss
    @hotlist= HotList.find(:all)
    render :template => "list/list.rxml", :layout => false
  end
  
  def method_missing(name, *args) 
    render :template=>"index/null"
  end
  
end
